package com.wz.project.bas.warehouse.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="bas_warehouse")
public class BasWarehouse {

    @Id
    @Column(name="warehouse_id")
    private String warehouse_id;

    @Column(name="warehouse_no")
    private String warehouse_no;

    @Column(name="project_no")
    private String project_no;

    @Column(name="warehouse_name")
    private String warehouse_name;

    @Column(name="address")
    private String address;

    @Column(name="c_desc")
    private String c_desc;

    @Column(name="warehouse_kind")
    private String warehouse_kind;

    @Column(name="warehouse_type")
    private String warehouse_type;

    @Column(name="is_current")
    private String is_current;

    public BasWarehouse(){

    }

    public BasWarehouse(String warehouse_id, String warehouse_no, String project_no, String warehouse_name, String address, String c_desc, String warehouse_kind, String warehouse_type, String is_current) {
        this.warehouse_id = warehouse_id;
        this.warehouse_no = warehouse_no;
        this.project_no = project_no;
        this.warehouse_name = warehouse_name;
        this.address = address;
        this.c_desc = c_desc;
        this.warehouse_kind = warehouse_kind;
        this.warehouse_type = warehouse_type;
        this.is_current = is_current;
    }

    public String getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(String warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public String getWarehouse_no() {
        return warehouse_no;
    }

    public void setWarehouse_no(String warehouse_no) {
        this.warehouse_no = warehouse_no;
    }

    public String getProject_no() {
        return project_no;
    }

    public void setProject_no(String project_no) {
        this.project_no = project_no;
    }

    public String getWarehouse_name() {
        return warehouse_name;
    }

    public void setWarehouse_name(String warehouse_name) {
        this.warehouse_name = warehouse_name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getC_desc() {
        return c_desc;
    }

    public void setC_desc(String c_desc) {
        this.c_desc = c_desc;
    }

    public String getWarehouse_kind() {
        return warehouse_kind;
    }

    public void setWarehouse_kind(String warehouse_kind) {
        this.warehouse_kind = warehouse_kind;
    }

    public String getWarehouse_type() {
        return warehouse_type;
    }

    public void setWarehouse_type(String warehouse_type) {
        this.warehouse_type = warehouse_type;
    }

    public String getIs_current() {
        return is_current;
    }

    public void setIs_current(String is_current) {
        this.is_current = is_current;
    }

    @Override
    public String toString() {
        return "BasWarehouse{" +
                "warehouse_id='" + warehouse_id + '\'' +
                ", warehouse_no='" + warehouse_no + '\'' +
                ", project_no='" + project_no + '\'' +
                ", warehouse_name='" + warehouse_name + '\'' +
                ", address='" + address + '\'' +
                ", c_desc='" + c_desc + '\'' +
                ", warehouse_kind='" + warehouse_kind + '\'' +
                ", warehouse_type='" + warehouse_type + '\'' +
                ", is_current='" + is_current + '\'' +
                '}';
    }
}
